package design.mode.visitor.item3;



/**
 * /**
 *
 * @author ZhongMingde on 2021/11/20
 */

public class Extractor {

  public void extract2txt(PPTFile pptFile) {
    //...
    System.out.println("Extract PPT.");
  }

  public void extract2txt(PdfFile pdfFile) {
    //...
    System.out.println("Extract PDF.");
  }

  public void extract2txt(WordFile wordFile) {
    // ...
    System.out.println("Extract WORD.");
  }
}
